package com.example.xhq.viewxiangying;

import android.util.EventLog;
import android.util.Log;
import android.view.MotionEvent;

/**
 * Created by xhq on 2017/5/27.
 */

public class LogUtil {


    public  static void print(String str){
        Log.v("xhq",str);
    }

    public  static void print(String str,Object obj){
        String[] arr = obj.getClass().getName().split(".");
//        Log.v("xhq",str + "   " + arr[arr.length -1]);
        Log.v("xhq",str + "   " + obj);

    }


    public  static void print(String str,MotionEvent obj){
//        Log.v("xhq",str + "   " + arr[arr.length -1]);
        Log.v("xhq",str + "   event:" + obj.getAction());

    }


}
